﻿<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{$GetSiteTitle}-搜索结果</title>
<link href="{$GetInstallDir}images/style.css" type=text/css rel=stylesheet>
<script src="{$GetInstallDir}ks_inc/jquery.js" type="text/javascript"></script>
<script src="{$GetInstallDir}ks_inc/common.js" type="text/javascript"></script>
<style>
.input{height:20px;width:300px;}
</style>
<script type="text/javascript">
$(document).ready(function(){
  jQuery("#stype>option[value={@Survey.stype}]").attr("selected",true);
});
</script>
<script type="text/javascript">
function Surveyform(){
	var i=1
	var Sokstr=""
	var itemidstr=""
	var textastr=""
	
	$('input:radio:checked').each(function(){
		//if ($(this).prop("id")!="no0"){Sokstr=Sokstr + $(this).prop("id") + "|"}
		Sokstr=Sokstr + $(this).prop("id") + "|";
	});
	$('input:checkbox:checked').each(function(){
		//if ($(this).prop("id")!="no0"){itemidstr=itemidstr + $(this).prop("name") + "|"}
		itemidstr=itemidstr + $(this).prop("name") + "|";
	});
	$("textarea").each(function(){
		if ($(this).prev().prop("checked")==true)
		{
			if ($(this).val()!=""){textastr=textastr+$(this).prop("name") + "|"}
		}
		if($(this).prop("id")=="tk_text")
		{
			if ($(this).val()!=""){textastr=textastr+$(this).prop("name") + "|"}
		}
	});
	$("#radioidstr").val(Sokstr)
	$("#itemidstr").val(itemidstr)
	$("#textastr").val(textastr)
	var z_str=Sokstr+itemidstr+textastr
	//alert(z_str);
	//return false;
	if (z_str!="")
	{
		$("#myformm").submit()
	}
	else
	{
		alert('请投票!')	
	}
	
}
function SurveyR(){
	location.href='SurveyR.asp?Surveyid={@Survey.surveyid}'
}
function textsh(v,id){
   if (v==0){
    $("#ot"+id).hide();
   }else{
	$("#ot"+id).show();
	}
}
</script>
</head>
<body>
<!--网站头部通用-->
{LB_头部通用}
<!--头部搜索-->
<div class="clear blank10"></div>
<div class="banner">{=GetAdvertise(37)}</div>
<div class="clear blank10"></div>

<div class="mapbody">
<div class="navigation">{LB_位置导航}<a href="{$GetInstallDir}Survey/">多问卷调查</a> >>{@Survey.Surveyname}</div>
<div class="survaytit mainbox">
	<div style="padding:0 15px;">
        {@Survey.ProjectContent}
        <div style="text-align:right">
         {@Survey.ProjectDateLimit}
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="content mainbox">
   <div class="search_left">
    
	<div class="articlesearch" ID="SurveyList" >
		 <form name="myformm" id="myformm" method="post" action="SurveyR.asp?Action=getItemNum&Surveyid={@Survey.surveyid}" >
	     {@loop.begin}
              <ul>
                <li><span class="class_name">{@item.num}、{@item.SurveySTName}</span><br />
				
               <span class="artintro">{@item.SurveyBox}</span>
			   </li>
            </ul>
        {@loop.end}
		<div align="center"> <input name="提交" onClick="Surveyform();" value="提交" type="button" class="buttonn">&nbsp;&nbsp;&nbsp;<input name="查看" value="查看" onClick="SurveyR();"  type="button" class="buttonn"></div>
		</form>
	   <div style="clear:both"></div>
		
	</div>	
 </div>

 </div>
</div>
  <div class="clear blank20"></div>
<!-- 
		感谢您使用KesionCMS,为了支持KesionCMS的发展,请您保留版权信息.使用上有什么疑问欢迎提交到技术论坛交流Http://bbs.kesion.com
		,KesionCMS因您会更精彩!
	-->
<!--友情链接-->
 <!--bottom end-->
<!--版权信息-->
{LB_尾部通用}
<!--版权信息-->


</body>
</html>
